ISlave.AoeWriteSdoObject method
Writes data to a slave using the ADS over EtherCAT (AoE) SDO method.
Namespace: IntervalZero.KINGSTAR.Base.Class
Assembly: IntervalZero.KINGSTAR.Base.Class (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0
Syntax
IKsCommand AoeWriteSdoObject(
int port,
int obIndex,
int obSubIndex,
bool completeAccess,
byte[] value
)
Function AoeWriteSdoObject(
port As Integer,
obIndex As Integer,
obSubIndex As Integer,
completeAccess As Boolean,
value As Byte()
) As IKsCommand
Parameters
port
Type: int
The EtherCAT slave port.
obIndex
Type: int
The index of the object to read in the object dictionary.
obSubIndex
Type: int
The subindex of the object to read in the object dictionary.
completeAccess
Type: bool
true: Writes all subindexes. false: Writes a single subindex.
value
Type: byte[]
Pointer to the buffer containing the value to write.
Return value
Type: IKsCommand
Returns the states of a method.
Usable EtherCAT states
ecatPreOP, ecatSafeOP, ecatOP
See also